package com.fuhan.utils.plantpy;

import java.io.IOException;

/**
 * @Author: Chao
 * @description: 调用python脚本
 * @Date: 2021/1/29 9:19
 */
public class PyUtil {
    public static void callPy(String url){
        try {
            Process pro = Runtime.getRuntime().exec(url);
            pro.waitFor();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
